import videoList from "~/database/video";

// GET /api/hot/动态id
export default defineEventHandler((event) => {
  const id = event.context.params?.id;

  return videoList.find((item) => item.bvid === id);
});
